package com.lagou.edu.service;

import com.lagou.edu.pojo.LagouAuthCode;

public interface LagouAuthCodeService {

    LagouAuthCode getOneByCode(String code);

    LagouAuthCode getByEmailAndCode(String email,String code);

    void delete(LagouAuthCode lagouAuthCode);

    LagouAuthCode save(LagouAuthCode lagouAuthCode);

    void removeByEmail(String email);

}
